package zsh.service.impl;

import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;
import zsh.domain.Brand;
import zsh.mapper.BrandMapper;
import zsh.service.IBrandService;

import java.util.List;

@Service
@AllArgsConstructor
public class BrandImpl implements IBrandService {
    private final BrandMapper brandMapper;
    @Override
    public List<Brand> selectAll() {

        return brandMapper.selectAll();
    }
}
